
//
//  B_TopicDetailHeaderTwo.m
//  DreamOf
//
//  Created by 薛小刚 on 2018/9/10.
//  Copyright © 2018年 薛小刚. All rights reserved.
//

#import "B_TopicDetailHeaderTwo.h"

@implementation B_TopicDetailHeaderTwo

+ (instancetype) initB_TopicDetailHeaderTwo {
    B_TopicDetailHeaderTwo * view = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil].lastObject;
    [view.B_button layoutButtonWithEdgeInsetsStyle:MKButtonEdgeInsetsStyleRight imageTitleSpace:10];
    
    return view;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (IBAction)B_buttonAction:(id)sender {
    if (self.topicHeaderAction) {
        self.topicHeaderAction();
    }
}
@end
